js wait for page to load

55

js wait for page to load -

document.addEventListener("DOMContentLoaded", function(event) { 
  //do work
});

Comments

Submit
0 Comments